home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / clansb.z / clansb
Encoding:
Text File  |  2002-10-03  |  4.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCLLLLAAAANNNNSSSSBBBB((((3333SSSS))))                                                          CCCCLLLLAAAANNNNSSSSBBBB((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CLANSB - return the value of the one norm, or the Frobenius norm, or the
  10.      infinity norm, or the element of largest absolute value of an n by n
  11.      symmetric band matrix A, with k super-diagonals
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      REAL FUNCTION CLANSB( NORM, UPLO, N, K, AB, LDAB, WORK )
  15.  
  16.          CHARACTER NORM, UPLO
  17.  
  18.          INTEGER   K, LDAB, N
  19.  
  20.          REAL      WORK( * )
  21.  
  22.          COMPLEX   AB( LDAB, * )
  23.  
  24. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  25.      These routines are part of the SCSL Scientific Library and can be loaded
  26.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  27.      directs the linker to use the multi-processor version of the library.
  28.  
  29.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  30.      4 bytes (32 bits). Another version of SCSL is available in which integers
  31.      are 8 bytes (64 bits).  This version allows the user access to larger
  32.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  33.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  34.      only one of the two versions; 4-byte integer and 8-byte integer library
  35.      calls cannot be mixed.
  36.  
  37. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  38.      CLANSB returns the value of the one norm, or the Frobenius norm, or the
  39.      infinity norm, or the element of largest absolute value of an n by n
  40.      symmetric band matrix A, with k super-diagonals.
  41.  
  42. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  43.      CLANSB returns the value
  44.  
  45.         CLANSB = ( max(abs(A(i,j))), NORM = 'M' or 'm'
  46.                  (
  47.                  ( norm1(A),         NORM = '1', 'O' or 'o'
  48.                  (
  49.                  ( normI(A),         NORM = 'I' or 'i'
  50.                  (
  51.                  ( normF(A),         NORM = 'F', 'f', 'E' or 'e'
  52.  
  53.      where  norm1  denotes the  one norm of a matrix (maximum column sum),
  54.      normI  denotes the  infinity norm  of a matrix  (maximum row sum) and
  55.      normF  denotes the  Frobenius norm of a matrix (square root of sum of
  56.      squares).  Note that  max(abs(A(i,j)))  is not a  matrix norm.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCLLLLAAAANNNNSSSSBBBB((((3333SSSS))))                                                          CCCCLLLLAAAANNNNSSSSBBBB((((3333SSSS))))
  71.  
  72.  
  73.  
  74. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  75.      NORM    (input) CHARACTER*1
  76.              Specifies the value to be returned in CLANSB as described above.
  77.  
  78.      UPLO    (input) CHARACTER*1
  79.              Specifies whether the upper or lower triangular part of the band
  80.              matrix A is supplied.  = 'U':  Upper triangular part is supplied
  81.              = 'L':  Lower triangular part is supplied
  82.  
  83.      N       (input) INTEGER
  84.              The order of the matrix A.  N >= 0.  When N = 0, CLANSB is set to
  85.              zero.
  86.  
  87.      K       (input) INTEGER
  88.              The number of super-diagonals or sub-diagonals of the band matrix
  89.              A.  K >= 0.
  90.  
  91.      AB      (input) COMPLEX array, dimension (LDAB,N)
  92.              The upper or lower triangle of the symmetric band matrix A,
  93.              stored in the first K+1 rows of AB.  The j-th column of A is
  94.              stored in the j-th column of the array AB as follows:  if UPLO =
  95.              'U', AB(k+1+i-j,j) = A(i,j) for max(1,j-k)<=i<=j; if UPLO = 'L',
  96.              AB(1+i-j,j)   = A(i,j) for j<=i<=min(n,j+k).
  97.  
  98.      LDAB    (input) INTEGER
  99.              The leading dimension of the array AB.  LDAB >= K+1.
  100.  
  101.      WORK    (workspace) REAL array, dimension (LWORK),
  102.              where LWORK >= N when NORM = 'I' or '1' or 'O'; otherwise, WORK
  103.              is not referenced.
  104.  
  105. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  106.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  107.  
  108.      This man page is available only online.
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.